//-------------------------------------------------
inline void CEffectManager::SetWorldMatrix(const Mat44f& _mat)
{
	m_WorldMatrix = _mat;
}

//-------------------------------------------------
inline void CEffectManager::SetOrthoMatrix(const Mat44f& _mat)
{
	m_OrthographicMatrix = _mat;
}

//-------------------------------------------------
inline void CEffectManager::Set2DViewMatrix(const Mat44f& _mat)
{
	m_2DViewMatrix = _mat;
}

//-------------------------------------------------
inline void CEffectManager::PushTexture(CTexture* _pTexture)
{
	m_TextureQueue.push(_pTexture);
}

//-------------------------------------------------
inline const Mat44f& CEffectManager::GetWorldMatrix() const
{
	return m_WorldMatrix;
}

//-------------------------------------------------
inline const Mat44f& CEffectManager::GetViewMatrix() const
{
	return m_ViewMatrix;
}

//-------------------------------------------------
inline const Mat44f& CEffectManager::GetProjectionMatrix() const
{
	return m_ProjectionMatrix;
}

//-------------------------------------------------
inline const Mat44f& CEffectManager::GetOrthographicMatrix() const
{
	return m_OrthographicMatrix;
}

//-------------------------------------------------
inline const Mat44f& CEffectManager::GetViewProjectionMatrix() const
{
	return m_ViewProjectionMatrix;
}

//-------------------------------------------------
inline const Mat44f& CEffectManager::Get2DViewMatrix() const
{
	return m_2DViewMatrix;
}

//-------------------------------------------------
inline CTexture* CEffectManager::GetTexture()
{
	if(m_TextureQueue.empty())
		return NULL;

	CTexture* l_pTexture = m_TextureQueue.front();
	m_TextureQueue.pop();

	return l_pTexture;
}